//初始化一级玩法菜单
var klsfPlayRules = function() {
	var thisPanel = $(".l-c-one");
	thisPanel.empty();
	var html = '<li class="cur" onclick ="klsfDWDRules()">定位胆</li>'
			+ '<li onclick ="klsfRXRules()">任选</li>'
			+ '<li onclick ="klsfDTRules()">胆拖</li>'
			+ '<li onclick ="klsfSXRules()">三星</li>'
			+ '<li onclick ="klsfEXRules()">二星</li>';
	thisPanel.html(html);
	klsfDWDRules();
};

// 定位胆
var klsfDWDRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>定位胆：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'kl10dwd1\')">第一位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd2\')">第二位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd3\')">第三位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd4\')">第四位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd5\')">第五位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd6\')">第六位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd7\')">第七位</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dwd8\')">第八位</li></ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('kl10dwd1');
}
// 任选
var klsfRXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>任选：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'kl10rx1z1\')">一中一</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10rx2z2\')">二中二</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10rx3z3\')">三中三</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10rx4z4\')">四中四</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10rx5z5\')">五中五</li>'
			+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('kl10rx1z1');
}
// 胆拖
var klsfDTRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>任选：</span><ul class="l-c-tow">'
			+ '<li  class="cur" onclick ="Lottery_Rule.chooseRule(\'kl10dt2z2\')">二中二</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dt3z3\')">三中三</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dt4z4\')">四中四</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10dt5z5\')">五中五</li>'
			+ '</ul>'
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('kl10dt2z2');
}
// 三星
var klsfSXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>直选：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'kl10qszxfs\')">前三</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10hszxfs\')">后三</li>'
			+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	var twoHtml = '<span>组选：</span><ul class="l-c-tow">'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10qszux\')">前三</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'kl10hszux\')">后三</li>'
		+ '</ul>';
	thisPanel.eq(1).html(twoHtml);
	Lottery_Rule.chooseRule('kl10qszxfs');
}

// 二星
var klsfEXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>二连：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'kl10elzx\')">直选</li>'
			+ '<li  onclick ="Lottery_Rule.chooseRule(\'kl10elzux\')">组选</li>'
			+ '</ul>'
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('kl10elzx');
}
